<template>
  <div class="home">
    <div class="top">
      <Top />
      <div class="search-input">
        <div class="search">
          <input
            type="text"
            class="input"
            placeholder="高频搜索内容：通过关键字检索浏览网站信息"
          />
          <div class="sea-bat">
            <img src="@/assets/icons/search.png" alt="" />
            搜索
          </div>
        </div>
      </div>

      <el-carousel
        :interval="5000"
        :autoplay="false"
        arrow="always"
        height="960px"
      >
        <el-carousel-item v-for="item in 4" :key="item" class="nav">
          <img src="@/assets/imgs/background.png" alt="" />
          <div class="ban-cont">
            <div class="banner">
              <div class="witer titles">2021年毕业季</div>
              <div class="xiahuaxian"></div>
              <div class="witer content">
                军事科学院是全军军事科学研究的拳头力量，承担着加强军事理论创新、加强国防科技创新、加强军事科研工作组织模式创新职责…
              </div>
              <div class="xiangq">了解详情</div>
            </div>
          </div>
        </el-carousel-item>
      </el-carousel>
    </div>

    <div class="overview">
      <div class="title">院部概况</div>
      <div class="unders-core"></div>
      <div class="conten">
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
        <div class="item">
          <div>100+</div>
          <div>重点实验室</div>
        </div>
      </div>
    </div>
    <div class="introduction">
      <div class="text">
        <div class="">院部简介</div>
        <div class="bd-bom"></div>
        <div class="texts">
          &emsp;&emsp;1958年3月15日，经毛泽东主席亲自决策，中国人民解放军军事科学院成立，叶剑英元帅任首任院长兼政治委员。
          <br />
          &emsp;&emsp;2017年7月19日，习主席亲自为新调整组建的军事科学院授军旗、致训词。新的军事科学院以原军事科学院和军兵种、军委机关部分直属科研、
          编研机构为基础重新组建，现设有8个研究院、2个中心和1个研究生院。军事科学院现任院长为杨学军中将，政治委员为方向中将。
        </div>
        <div class="details">了解详情</div>
      </div>
      <div class="imgs">
        <div class="background"></div>
        <div class="img">
          <img src="@/assets/imgs/introduction.jpg" alt="" />
        </div>
      </div>
    </div>
    <div class="picture">
      <img src="@/assets/imgs/background2.jpg" alt="" />
    </div>
    <div class="construction">
      <div class="title">学科建设</div>
      <div class="unders-core"></div>
      <div class="nav">
        <div class="">
          <i class="iconfont icon-yuanxingjiantou_xiangzuo"></i>
        </div>
        <div class="">计算机科学与技术</div>
        <div class="">生物医学工程</div>
        <div class="">兽医学</div>
        <div class="">基础医学</div>
        <div class="">药学</div>
        <div class="">公共卫生与预防医学</div>
        <div class="">军队指挥学</div>
        <div class="">
          <i class="iconfont icon-yuanxingjiantou-xiangyou"></i>
        </div>
      </div>
      <div class="graphic">
        <div class="graphic-item">
          <div class="text">
            <div class="tit">学科简介</div>
            <div class="">
              &emsp;&emsp;2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生
              <br />
              &emsp;&emsp;2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生2021年军事科学院研究生招生
            </div>
          </div>
          <div class="photo"><img src="@/assets/imgs/photo.jpg" alt="" /></div>
          <div class="leftbox colorbox">
            <i class="iconfont icon-jiantou_qiehuanzuo_o color-white"></i>
          </div>
          <div class="rightbox colorbox">
            <i class="iconfont icon-jiantou_qiehuanyou_o color-white"></i>
          </div>
        </div>
      </div>
    </div>
    <div class="list">
      <div class="left-text color-b21315">学术精英榜</div>
      <div class="right-text">
        <el-carousel height="80px" direction="vertical">
          <el-carousel-item>
            <div class="">戴用名·电子对抗研究生</div>
          </el-carousel-item>
          <el-carousel-item>
            <div class="">戴用名·体育对抗研究生</div>
          </el-carousel-item>
          <el-carousel-item>
            <div class="">戴用名·科学对抗研究生</div>
          </el-carousel-item>
        </el-carousel>
      </div>
    </div>
    <div class="work">
      <div class="work-tap">
        <div class="tit">创新工作</div>
        <div class="unders">
          <div class="cors"></div>
          <div class="more">
            <a href="">创新工作（8）</a>
            <a href="">军民融合（4）</a>
            <span>&emsp;|&emsp;</span>
            <a href="" class="color-b21315">查看更多</a>
          </div>
        </div>
      </div>
      <div class="work-graphic">
        <div class="graphic-item" v-for="item in 3" :key="item">
          <div class="item-img">
            <img src="@/assets/imgs/item-img.jpg" alt="" />
          </div>
          <div class="item-text">
            <div class="">研究生教育创新工作成果展示标题</div>
            <div class="">
              <span>标签文字</span>
              <span>标签文字</span>
            </div>
            <div class="color-b21315">
              <i class="iconfont icon-shijian color-b21315"></i>
              2020年10月19日
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="trick">
      <div class="title">招生工作</div>
      <div class="unders-core"></div>
      <div class="video">
        <div class="cutover">
          <div class="card">
            硕士研究生
            <div class="triangle"></div>
          </div>
          <div class="card">
            博士研究生
            <div class="triangle"></div>
          </div>
          <div class="card">
            同等学力
            <div class="triangle"></div>
          </div>
          <div class="mores">更多>></div>
        </div>
        <div class="film"><img src="@/assets/imgs/video.jpg" alt="" /></div>
      </div>
    </div>
    <div class="bottom-nav">
      <div class="qr-code">
        <div class="">
          <img src="@/assets/imgs/QRcode.jpg" alt="" />
          <div>欢迎关注军科研究生院</div>
        </div>
        <div class="link">
          <div>
            <p>友情链接</p>
            <div><a href="javascipt:;">友情链接</a></div>
            <div><a href="javascipt:;">友情链接</a></div>
            <div><a href="javascipt:;">友情链接</a></div>
            <div><a href="javascipt:;">友情链接</a></div>
            <div><a href="javascipt:;">友情链接</a></div>
          </div>
          <div>
            <p>联系我们</p>
            <div><a href="javascipt:;">网站信箱</a></div>
            <div><a href="javascipt:;">意见建议</a></div>
            <div><a href="javascipt:;">质疑投诉</a></div>
          </div>
        </div>
      </div>
      <div class="declare">
        <div class="">
          <a href="javascript:;">法律声明</a>
          &emsp;
          <a href="">隐私协议</a>
        </div>
        <div class="">京ICP备00000000号-00 京公网安备 00000000000000号</div>
      </div>
    </div>
    <Topnav />
  </div>
</template>

<script>
import Topnav from "@/components/topnav.vue";
import Top from "@/components/top.vue";
export default {
  name: "Home",
  components: {
    Topnav,
    Top
  },
  data() {
    return {};
  },
  created() {},
  methods: {}
};
</script>
<style lang="scss" scoped>
.color-white {
  color: #ffffff;
}
.color-b21315 {
  color: #b21315 !important;
}
.title {
  text-align: center;
  margin: 100px auto 0;
  font-weight: 700;
  color: #333333;
  font-size: 48px;
}
.unders-core {
  width: 111px;
  height: 8px;
  background-color: #b21315;
  border-radius: 8px;
  margin: 15px auto 70px;
}

.top {
  width: 100%;
  height: 960px;
  position: relative;
  >>> .el-carousel__indicator.is-active button {
    width: 111px;
    height: 8px;
    background-color: #b21315;
    border-radius: 8px;
  }
  >>> .el-carousel__button {
    width: 111px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 8px;
  }
  >>> .el-carousel__arrow--left {
    left: 40px;
  }
  >>> .el-carousel__arrow--right {
    right: 40px;
  }
  >>> .el-carousel__arrow i {
    font-size: 40px;
  }
  >>> .el-carousel__arrow {
    width: 60px;
    height: 60px;
    border: 2px solid #ffffff;
  }
  .ban-cont {
    width: 100%;
    background: linear-gradient(transparent, transparent, transparent, #000);
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 170px 330px;
  }
  .banner {
    width: 460px;
    .xiahuaxian {
      width: 140px;
      height: 5px;
      background-color: #b21315;
      margin: 10px 0 30px 0;
    }
    .witer {
      color: #fff;
    }
    .content {
      font-size: 18px;
      font-weight: 700;
      line-height: 30px;
    }
    .titles {
      font-weight: 700;
      font-size: 60px;
    }
    .xiangq {
      font-weight: 700;
      margin-top: 30px;
      text-align: center;
      color: #fff;
      line-height: 38px;
      width: 152px;
      height: 38px;
      border: 1px solid;
      border-color: #ffffff;
      border-radius: 28px;
    }
  }
  .search-input {
    z-index: 10;
    width: 100%;
    position: absolute;
    bottom: 95px;
    left: 0px;
    height: 80px;
    overflow: hidden;
    padding: 0 170px;
  }
  .search {
    background: #ffffff;
    border-radius: 5px;
    input {
      border: none;
      outline: none;
      width: 600px;
      height: 80px;
      font-size: 26px;
      background-image: url(~@/assets/icons/flame.png);
      background-size: 27px 31px;
      background-position: 10px 20px;
      background-repeat: no-repeat;
      padding-left: 40px;
      margin-left: 80px;
    }
    .sea-bat {
      float: right;
      width: 271px;
      text-align: center;
      line-height: 80px;
      font-size: 24px;
      color: #fff;
      height: 80px;
      background-color: #b21315;
      border-radius: 5px;
      box-shadow: 0px 0px 15px rgba(83, 0, 0, 0.71);
      img {
        width: 24px;
        height: 24px;
      }
    }
  }
}
.overview {
  width: 100%;
  height: 670px;
  background: url(~@/assets/imgs/overview.png) no-repeat center;
  background-size: 100% 100%;
  .conten {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 200px;
    .item {
      width: 25%;
      box-sizing: border-box;
      border-right: 1px solid #707070;
      margin-bottom: 73px;
    }
    .item:nth-child(4) {
      border: none;
    }
    .item:nth-child(8) {
      border: none;
    }
    .item > div:nth-child(1) {
      font-weight: 700;
      color: #b21315;
      font-size: 88px;
      text-align: center;
    }
    .item > div:nth-child(2) {
      font-weight: 700;
      color: #333333;
      font-size: 32px;
      text-align: center;
    }
  }
}
.introduction {
  width: 100%;
  height: 688px;
  box-sizing: border-box;
  background-color: #f4f4f4;
  padding: 80px 330px 0;
  display: flex;
  .text {
    width: 533px;
    .bd-bom {
      width: 31px;
      height: 5px;
      background-color: #b21315;
      border-radius: 8px;
      margin: 5px 0 55px;
    }
    .texts {
      height: 324px;
      color: #666666;
      font-size: 18px;
      padding-bottom: 10px;
      line-height: 36px;
    }
    .details {
      font-family: Source Han Sans CN;
      font-weight: 700;
      color: #ffffff;
      font-size: 18px;
      width: 152px;
      height: 38px;
      background-color: #333333;
      border-radius: 28px;
      text-align: center;
      line-height: 38px;
    }
  }
  .imgs {
    width: 570px;
    position: relative;
    .background {
      width: 387px;
      height: 608px;
      background-color: #b21315;
      margin-left: 340px;
    }
    .img {
      position: absolute;
      top: 40px;
      right: -105px;
      width: 496px;
      height: 680px;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.49);
    }
    img {
      width: 100%;
      height: 100%;
    }
  }
}
.picture {
  margin-top: 220px;
  height: 414px;
  img {
    width: 100%;
    height: 100%;
  }
}
.construction {
  .nav {
    display: flex;
    justify-content: space-between;
    padding: 0 386px;
  }
  .graphic {
    .graphic-item {
      display: flex;
      position: relative;
      padding-right: 330px;
      background-color: #f7f7f7;
      padding: 90px 0 90px 330px;
    }
    height: 646px;

    margin-top: 40px;
    padding: 90px 160px 0 0px;
    box-sizing: border-box;

    .text {
      width: 400px;
      color: #666666;
      font-size: 16px;
      line-height: 36px;
      .tit {
        font-weight: 700;
        margin-bottom: 50px;
        color: #666666;
        font-size: 18px;
      }
    }
    .photo {
      width: 542px;
      height: 376px;
      margin-left: 160px;
    }
    .leftbox {
      position: absolute;
      top: 227px;
      right: -45px;
      padding: 20px;
      box-sizing: border-box;
    }
    .rightbox {
      position: absolute;
      top: 333px;
      right: -45px;
      padding: 20px;
      box-sizing: border-box;
    }
    .colorbox {
      width: 90px;
      height: 90px;
      background-color: #b21315;
      i {
        font-size: 52px;
      }
    }
  }
}
.list {
  width: 1260px;
  height: 80px;
  margin: 90px auto 40px;
  background-color: #f4f4f4;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 10px 0;
  display: flex;
  .left-text {
    width: 24%;
    padding: 0 60px;
    line-height: 60px;
    border-right: 2px solid #707070;
    font-size: 24px;
  }
  .right-text {
    width: 100%;
    padding: 0 60px;
    color: #666666;
    line-height: 60px;
    font-size: 24px;
    >>> .el-carousel__indicator--vertical {
      display: none;
    }
  }
}
.work {
  .work-tap {
    padding: 0 330px;
    .tit {
      font-weight: 700;
      color: #333333;
      font-size: 48px;
    }
    .unders {
      display: flex;
      justify-content: space-between;
      .cors {
        width: 111px;
        height: 8px;
        background-color: #b21315;
        border-radius: 8px;
        margin-top: 15px;
      }
      .more {
        a {
          color: #000;
          font-weight: 700;

          font-size: 18px;
        }
      }
    }
  }
  .work-graphic {
    display: flex;
    justify-content: space-evenly;
    padding: 0 170px;
    margin-top: 60px;
    position: relative;
    .leftbox {
      position: absolute;
      top: 112px;
      left: 140px;
      padding: 12px;
      box-sizing: border-box;
    }
    .rightbox {
      position: absolute;
      top: 112px;
      right: 140px;
      padding: 12px;
      box-sizing: border-box;
    }
    .colorbox {
      width: 90px;
      height: 90px;
      background-color: #b21315;
      i {
        font-size: 70px;
      }
    }
    .graphic-item {
      width: 460px;
      height: 460px;
      .item-img {
        width: 100%;
        height: 310px;
      }
      .item-text > div:nth-child(1) {
        font-weight: 700;
        color: #333333;
        font-size: 22px;
      }
      .item-text > div:nth-child(2) {
        margin: 10px 0 20px;
      }
      .item-text > div:nth-child(2) span {
        display: inline-block;
        line-height: 24px;
        width: 88px;
        height: 24px;
        background-color: rgba(178, 19, 21, 0.27);
        border: 1px solid #b21315;
        border-radius: 5px;
        color: #b21315;
        font-size: 14px;
        text-align: center;
        margin-right: 5px;
      }
    }
  }
}
.trick {
  .video {
    height: 677px;
    width: 100%;
    padding: 0 170px;
    display: flex;
    .cutover {
      background: url(~@/assets/imgs/break.png);
      width: 530px;
      padding: 90px 0 0 0;
      position: relative;
      .mores {
        position: absolute;
        right: 30px;
        bottom: 30px;
        font-weight: 700;
        color: #b21315;
        font-size: 18px;
      }
      .card {
        width: 540px;
        height: 92px;
        margin: 0px 0 10px -10px;
        background-color: #b21315;
        box-shadow: 0px 3px 6px rgba(80, 0, 0, 0.29);
        position: relative;
        font-weight: 700;
        color: #ffffff;
        font-size: 32px;
        text-align: center;
        line-height: 92px;
        .triangle {
          position: absolute;
          top: -10px;
          left: 0;
          width: 0;
          height: 0;
          border-bottom: 10px solid #930c0e;
          border-left: 10px solid transparent;
        }
      }
    }
    .film {
      width: 1048px;
      height: 588px;
      margin-top: 90px;
    }
  }
}
.bottom-nav {
  height: 934px;
  background: url(~@/assets/imgs/bottom.png) no-repeat;
  background-size: 100% 100%;
  margin-top: -373px;
  .qr-code {
    padding: 560px 330px 0 330px;
    display: flex;
    justify-content: space-between;
  }
  .qr-code > div:nth-child(1) {
    width: 239px;
    height: 239px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
  }
  .qr-code > div:nth-child(2) {
    width: 260px;
  }
  .link {
    display: flex;
    text-align: center;
    justify-content: space-between;
    p {
      font-weight: 700;
      color: #ffffff;
      font-size: 24px;
      margin-bottom: 40px;
    }
    a {
      font-size: 18px;
      margin-bottom: 20px;
      display: block;
    }
  }
  .declare {
    text-align-last: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 12px;
  }
}
</style>
